package com.czd.support.model;

import java.sql.Date;

import org.apache.ibatis.type.Alias;

/**
 * @description app预警实体类
 * @author CaoRen
 * @date 2015/6/4
 */
@Alias("warning")
public class Warning {
	/**
	 * 主键id
	 */
	private int id;
	/**
	 * 代码编号
	 */
	private String symbol;
	/**
	 * 名字
	 */
	private String name;
	/**
	 * 上涨价格
	 */
	private double risingPrice;
	/**
	 * 下跌价格
	 */
	private double fallPrice;
	/**
	 * 用户id
	 */
	private int userId;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 1：天交所的品种，2：甬商所的品种
	 */
	private int type;
	/**
	 * 是否已预警   0：未预警  1：已预警
	 */
	private int isRemind;
	/**
	 * 是否已添加   0：未添加  1：已添加
	 */
	private int isAdd;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getSymbol() {
		return symbol;
	}
	public void setSymbol(String symbol) {
		this.symbol = symbol;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getRisingPrice() {
		return risingPrice;
	}
	public void setRisingPrice(double risingPrice) {
		this.risingPrice = risingPrice;
	}
	public double getFallPrice() {
		return fallPrice;
	}
	public void setFallPrice(double fallPrice) {
		this.fallPrice = fallPrice;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public int getIsRemind() {
		return isRemind;
	}
	public void setIsRemind(int isRemind) {
		this.isRemind = isRemind;
	}
	public int getIsAdd() {
		return isAdd;
	}
	public void setIsAdd(int isAdd) {
		this.isAdd = isAdd;
	}
	
}
